package com.gxa.order.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;

/**
 * @author htt
 * @create 2021-05-11
 * project overview
 */
@Data
@ApiModel
public class LikeParam {

    /**
     * 当前页码
     */
    @ApiModelProperty(value = "页码")
    private Integer pageNum = 1;
    /**
     * 页容量
     */
    @ApiModelProperty(value = "当前页面数")
    private Integer pageSize = 5;

    @ApiModelProperty("用户的名字")
    private String memberName;
    @ApiModelProperty("部门id")
    private Integer deptId;
    @ApiModelProperty("开始时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp startTime;
    @ApiModelProperty("结束时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp endTime;
    @ApiModelProperty("订单状态")
    private Integer status;
}
